package com.match.competition_sub.service;

import com.match.competition_sub.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AdiosF
 * @since 2021-09-21
 */
public interface TeacherService extends IService<Teacher> {
    //通过Excel录入教师信息
    void addTeaByExcel(MultipartFile file, TeacherService teacherService);

    //获得用户角色名称
    String getRoleName(String roleId);

    //移除中间表信息
    void removeUserAndRoleByNumber(String number);

    //获取教师ID
    String getRoleIdByName(String roleName);

    //修改申请表中教师的姓名信息
    void updateCompetitionInfoTeacherName(String teacherName,String number);
}
